<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>骨医快线</title>
	<link rel="stylesheet" href="../../css/mui.plus.css" />
	<style>
		.qrcode-area {
			  margin: auto;
			  position: absolute;
			  top: 0; left: 0; bottom: 0; right: 0;
			  
			  width: 300px;
			  height: 300px;
		}
		.qrcode-text {
			text-align: center;
		}
	</style>	
</head>
<body>
	<header class="mui-bar mui-bar-nav pri-bar">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">扫描二维码</h1>
	</header>
	
	<div class="mui-content">
		<div class="qrcode-area">
			<div id="qrcode"></div>
			<div style="margin-top: 15px;">
				<p class="qrcode-text">扫描二维码填写量表</p>
			</div>
		</div>
	</div>
	
	<script src="../../js/mui.min.js"></script>
	<script src="../../js/app.js"></script>
	<script src="../../js/lib/qrcode.min.js"></script>
	<script>
		(function($, a){
			$.plusReady(function(){
				var wv = plus.webview.currentWebview();
				new QRCode(document.getElementById('qrcode'), 'http://web.orthexpress.com/orths/wx/c_rating_scale/view_pa_rs_page?dr_id='+a.storage.getUserId()+'&rs_id='+wv.rs_id+'&med_id='+wv.rec_id);
			});
		}(mui, app));
	</script>
</body>
</html>